package com.ecoolex.union.pay.retailer.core.mapper;

import com.ecoolex.framework.common.annotation.Description;
import com.ecoolex.union.pay.retailer.entity.UnionPayCouponCallRecord;
import com.ecoolex.union.pay.retailer.entity.UnionPayCouponCallRecordExample;
import com.ecoolex.union.pay.retailer.entity.UnionPayCouponCallRecordWithBLOBs;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.lang.NonNull;

public interface UnionPayCouponCallRecordMapper {
    long countByExample(UnionPayCouponCallRecordExample example);

    int deleteByExample(UnionPayCouponCallRecordExample example);

    int deleteByPrimaryKey(Long id);

    int insert(UnionPayCouponCallRecordWithBLOBs record);

    int insertSelective(@Param("record") UnionPayCouponCallRecordWithBLOBs record, @Param("selective") UnionPayCouponCallRecordWithBLOBs.Column ... selective);

    UnionPayCouponCallRecord selectOneByExample(UnionPayCouponCallRecordExample example);

    UnionPayCouponCallRecordWithBLOBs selectOneByExampleWithBLOBs(UnionPayCouponCallRecordExample example);

    List<UnionPayCouponCallRecordWithBLOBs> selectByExampleWithBLOBs(UnionPayCouponCallRecordExample example);

    List<UnionPayCouponCallRecord> selectByExample(UnionPayCouponCallRecordExample example);

    UnionPayCouponCallRecordWithBLOBs selectByPrimaryKey(Long id);

    UnionPayCouponCallRecordWithBLOBs selectByPrimaryKeyWithLogicalDelete(@Param("id") Long id, @Param("andLogicalDeleted") boolean andLogicalDeleted);

    int updateByExampleSelective(@Param("record") UnionPayCouponCallRecordWithBLOBs record, @Param("example") UnionPayCouponCallRecordExample example, @Param("selective") UnionPayCouponCallRecordWithBLOBs.Column ... selective);

    int updateByExampleWithBLOBs(@Param("record") UnionPayCouponCallRecordWithBLOBs record, @Param("example") UnionPayCouponCallRecordExample example);

    int updateByExample(@Param("record") UnionPayCouponCallRecord record, @Param("example") UnionPayCouponCallRecordExample example);

    int updateByPrimaryKeySelective(@Param("record") UnionPayCouponCallRecordWithBLOBs record, @Param("selective") UnionPayCouponCallRecordWithBLOBs.Column ... selective);

    int updateByPrimaryKeyWithBLOBs(UnionPayCouponCallRecordWithBLOBs record);

    int updateByPrimaryKey(UnionPayCouponCallRecord record);

    int batchInsert(@Param("list") List<UnionPayCouponCallRecordWithBLOBs> list);

    int batchInsertSelective(@Param("list") List<UnionPayCouponCallRecordWithBLOBs> list, @Param("selective") UnionPayCouponCallRecordWithBLOBs.Column ... selective);

    int logicalDeleteByExample(@Param("example") UnionPayCouponCallRecordExample example);

    int logicalDeleteByPrimaryKey(Long id);
}